package com.etc.traval.test;

import java.util.List;

import com.etc.traval.biz.PlaceBiz;
import com.etc.traval.bizimpl.PlaceBizImpl;
import com.etc.travel.entity.Place;

public class New {

	public static void main(String[] args) {
		PlaceBiz biz =new PlaceBizImpl();
		
		List<Place> list=biz.queryAllByNameKey("测试");
		for (Place place : list) {
			System.out.println("景点序号："+place.getPlace_id()+"  景点简介："+place.getPlace_content()+"   地点："+place.getPlace_name());
		}
	}
}
